<!DOCTYPE html>
<html lang="zh-cmn-Hans">

	<head>
		<meta charset="UTF-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport">
		<script type="text/javascript" src="Plug/jquery-1.11.3.min.js"></script>
		<title>发布场地</title>
		<script src="Plug/layer-v3.1.1/layer.js" type="text/javascript" charset="utf-8"></script>
		<!--layer  弹框插件-->
		<link rel="stylesheet" href="static/css/base/reset.css" />
		<!--jqyery-weiui插件 -->
		<link rel="stylesheet" href="Plug/jquery-weui/jquery-weui.min.css">
		<link rel="stylesheet" href="Plug/jquery-weui/weui.min.css">
		<script src="Plug/jquery-weui/js/jquery-weui.js" type="text/javascript" charset="utf-8"></script>
		<script src="Plug/jquery-weui/js/city-picker.js" type="text/javascript" charset="utf-8"></script>
		<!--轮播插件-->
		<link rel="stylesheet" type="text/css" href="Plug/swiper/swiper.min.css" />
		<script src="Plug/swiper/swiper.min.js" type="text/javascript" charset="utf-8"></script>
		<!--重置样式-->
		<link rel="stylesheet" href="static/css/base/main.css" />
		<!--公共样式-->
		<link rel="stylesheet" type="text/css" href="http://at.alicdn.com/t/font_990287_d1k7m1rqics.css" />
		<!--阿里云图标库-->
		<script src="static/js/base.js" type="text/javascript" charset="utf-8"></script>
		<!---------------公共导入分割线------------------------>
		<!--本页样式-->
		<link rel="stylesheet" type="text/css" href="static/css/release/release.css" />
	</head>

	<body>
		<!--存在bar加此wrap-->
		<div class="have_bar_wrap">
			<div class="top_head flex_cb">
				<a class="back" href="javascript:void(0)"><i class="iconfont icon-xuanzeqishangyige"></i></a>
				<span>发布场地</span>
			</div>
			<div class="list_titcontent">
				<div class="list_titcontent_tit flex_cl"><i style="font-size: .4rem;" class="iconfont icon-dimingxinxi"></i><span>场地名称</span></div>
				<div class="list_titcontent_c">
					<input type="" placeholder="请输入场地名称..." name="" id="" value="" />
				</div>
			</div>
			<div class="list_titcontent">
				<div class="list_titcontent_tit flex_cl"><i class="iconfont icon-jieshao1"></i><span>场地介绍</span></div>
				<div class="list_titcontent_c">
					<textarea placeholder="请输入场地介绍..." name="" rows="" cols=""></textarea>
				</div>
			</div>
			<div class="list_titcontent">
				<div class="list_titcontent_tit flex_cl"><i class="iconfont icon-tubiaozhizuomoban"></i><span>地址与交通</span></div>
				<div class="list_titcontent_c">
					<textarea placeholder="请输入地址与交通..." name="" rows="" cols=""></textarea>
				</div>
			</div>
			<ul class="fill_data_list">
				<li>
					<i class="iconfont icon-fenlei"></i><span>所属类型</span>
					<input id="field_type" placeholder="请选择所属类型" type="" name="" id="" value="" />
					<i class="iconfont icon-xuanzeqixiayige"></i>
				</li>
				<li style="border-bottom: none;">
					<i class="iconfont icon-fenlei"></i><span>所在地区</span>
					<input id="city-picker" placeholder="请选择所在地区" type="" name="" id="" value="" />
					<i class="iconfont icon-xuanzeqixiayige"></i>
				</li>
			</ul>
			<div class="list_titcontent">
				<div class="list_titcontent_tit flex_cl"><i <i style="font-size: .32rem;" class="iconfont icon-tupian"></i><span>上传场地照片</span></div>
				<div class="list_titcontent_c">
					<div class="add_photo">
						<a class="add_btn_yp flex_cc" href="javascript:void(0)">
							<i class="iconfont icon-tupian"></i>
							<p>添加照片</p>
						</a>
						<img src="static/images/changkuan21.png" />
						<img src="static/images/changkuan21.png" />
						<img src="static/images/changkuan21.png" />
						<img src="static/images/changkuan21.png" />
					</div>
				</div>
			</div>
			<div class="choice_tip ">
				<div class="choice_tip_tit flex_cl field_zhuti">
					<i class="iconfont icon-fenlei icon-zhuti"></i>
					<span>适合拍摄主题（多选）</span>
				</div>
				<div class="choice_tiplist">
					<a class="choice_tip_action" href="javascript:void(0)">时尚</a>
					<a href="javascript:void(0)">性感</a>
					<a href="javascript:void(0)">暗黑</a>
					<a href="javascript:void(0)">情绪</a>
					<a href="javascript:void(0)">胶片</a>
					<a href="javascript:void(0)">校园</a>
					<a href="javascript:void(0)">纪实</a>
					<a href="javascript:void(0)">妆面</a>
					<a href="javascript:void(0)">日系</a>
					<a href="javascript:void(0)">复古</a>
					<a href="javascript:void(0)">COS</a>
					<a href="javascript:void(0)">少女</a>
					<a href="javascript:void(0)">青春</a>
					<a href="javascript:void(0)">糖水</a>
					<a href="javascript:void(0)">情侣</a>
					<a href="javascript:void(0)">爱情</a>
					<a href="javascript:void(0)">封面</a>
					<a href="javascript:void(0)">夜景</a>
					<a href="javascript:void(0)">欧美</a>
					<a href="javascript:void(0)">古风</a>
					<a href="javascript:void(0)">清新</a>
					<a href="javascript:void(0)">淘宝</a>
					<a href="javascript:void(0)">森系</a>
					<a href="javascript:void(0)">视觉</a>
					<a href="javascript:void(0)">非主流</a>
					<a href="javascript:void(0)">哥特</a>
				</div>
			</div>
			<a class="next_fill flex_cc" href="javascript:void(0)">立即发布</a>
		</div>
	</body>
	<script type="text/javascript">
		$(function() {
			$("#field_type").picker({
				title: "请选择场地类型",
				cols: [{
					textAlign: 'center',
					values: ['景点', '影棚', '街道', '校园', '公园', '郊外', '图书馆', '咖啡厅', '游乐场', '商城', '酒店', '工厂', '其他']
				}],
				onClose: function(d) {
					val = (this, d.displayValue);
					alert(JSON.stringify(val));
				}
			});
			$("#huiyuan").picker({
				title: "请选择是否会员",
				cols: [{
					textAlign: 'center',
					values: ['是', '否']
				}],
				onClose: function(d) {
					val = (this, d.displayValue);
					alert(JSON.stringify(val))
				}
			});
			$("#city-picker").cityPicker({
				title: "请选择地区",
				onClose: function(d) {
					console.log(this, d)
					city = (this, d.displayValue);
					alert(JSON.stringify(city))
				},
				onConfirm: function(result) {}
			});
			$(document).on("click", ".add_photo img", function() {
				$(this).remove();
			})
			$(document).on("click", ".choice_tiplist a", function() {
				if($(this).hasClass("choice_tip_action")) {
					$(this).removeClass("choice_tip_action");
				} else {
					$(this).addClass("choice_tip_action");
					var tipnum = $(this).parent().find(".choice_tip_action").length;
					if(tipnum > 5) {
						Msg("最多只能选择5个");
						$(this).removeClass("choice_tip_action");
						return false;
					}
				}
			})
		})
	</script>

</html>